Skip to content

transpile: Translate enums in switch as their own type instead of integers - #1817

Draft
Rua wants to merge 15 commits into
immunant:masterfrom
Rua:match-enum
Draft

transpile: Translate enums in switch as their own type instead of integers#1817
Rua wants to merge 15 commits into
immunant:masterfrom
Rua:match-enum

Conversation

@Rua

@Rua Rua commented May 21, 2026

Copy link
Copy Markdown
Contributor

Enum constant names are now preserved in match arms where present, which significantly improves code fidelity.

@ahomescu ahomescu left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This needs a rebase, but CI should pass now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants